package com.winsdom.mapper.count;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winsdom.entity.BillingMain;
import com.winsdom.entity.Bills;
import com.winsdom.entity.PrestoreRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ManualPostingMapper extends BaseMapper<Bills> {
    
    BillingMain getBillingMainByDetailId(@Param("detailId") Long detailId);
    
    List<PrestoreRecord> getPrestoreRecordsByCustomerId(@Param("customerId") Long customerId);
    
    void updatePrestoreRecord(PrestoreRecord prestoreRecord);
    
    void insertBill(Bills bill);
    
    void updateBillingMain(BillingMain billingMain);
} 